#!/bin/bash


read -p "输入密码：" pwd1
read -p "确认密码：" pwd2

if [ $pwd1 == $pwd2 ];then
    echo '相同'
else
    echo '不同'
fi
